var LodashLXYTest = {
    Array:{
        chunk:function(array, size){
            var result = [];
            var arr = new Array();
            var j = 1;
            for(var i=0; i<array.length; i++) {
                debugger;
                if(j == size){
                    arr.push(array[i]);
                    result.push(arr)
                    arr = [];
                    j = 1;
                }else{
                    arr.push(array[i]);
                    j++;
                }
            }
            if(arr.length > 0){
                result.push(arr);
            }
            console.log(result);
        }
    }

};